package com.fc.v2.model.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import cn.hutool.core.util.StrUtil;

/**
 * 课题参与者 ApplyParticipatorExample
 * @author Archie_自动生成
 * @date 2021-12-09 11:45:13
 */
public class ApplyParticipatorExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ApplyParticipatorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
        
				
        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }
        
				
        public Criteria andPartNameIsNull() {
            addCriterion("part_name is null");
            return (Criteria) this;
        }

        public Criteria andPartNameIsNotNull() {
            addCriterion("part_name is not null");
            return (Criteria) this;
        }

        public Criteria andPartNameEqualTo(String value) {
            addCriterion("part_name =", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameNotEqualTo(String value) {
            addCriterion("part_name <>", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameGreaterThan(String value) {
            addCriterion("part_name >", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameGreaterThanOrEqualTo(String value) {
            addCriterion("part_name >=", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameLessThan(String value) {
            addCriterion("part_name <", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameLessThanOrEqualTo(String value) {
            addCriterion("part_name <=", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameLike(String value) {
            addCriterion("part_name like", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameNotLike(String value) {
            addCriterion("part_name not like", value, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameIn(List<String> values) {
            addCriterion("part_name in", values, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameNotIn(List<String> values) {
            addCriterion("part_name not in", values, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameBetween(String value1, String value2) {
            addCriterion("part_name between", value1, value2, "partName");
            return (Criteria) this;
        }

        public Criteria andPartNameNotBetween(String value1, String value2) {
            addCriterion("part_name not between", value1, value2, "partName");
            return (Criteria) this;
        }
        
				
        public Criteria andPartAgeIsNull() {
            addCriterion("part_age is null");
            return (Criteria) this;
        }

        public Criteria andPartAgeIsNotNull() {
            addCriterion("part_age is not null");
            return (Criteria) this;
        }

        public Criteria andPartAgeEqualTo(Integer value) {
            addCriterion("part_age =", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeNotEqualTo(Integer value) {
            addCriterion("part_age <>", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeGreaterThan(Integer value) {
            addCriterion("part_age >", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("part_age >=", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeLessThan(Integer value) {
            addCriterion("part_age <", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeLessThanOrEqualTo(Integer value) {
            addCriterion("part_age <=", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeLike(Integer value) {
            addCriterion("part_age like", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeNotLike(Integer value) {
            addCriterion("part_age not like", value, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeIn(List<Integer> values) {
            addCriterion("part_age in", values, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeNotIn(List<Integer> values) {
            addCriterion("part_age not in", values, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeBetween(Integer value1, Integer value2) {
            addCriterion("part_age between", value1, value2, "partAge");
            return (Criteria) this;
        }

        public Criteria andPartAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("part_age not between", value1, value2, "partAge");
            return (Criteria) this;
        }
        
				
        public Criteria andPartTitleIsNull() {
            addCriterion("part_title is null");
            return (Criteria) this;
        }

        public Criteria andPartTitleIsNotNull() {
            addCriterion("part_title is not null");
            return (Criteria) this;
        }

        public Criteria andPartTitleEqualTo(String value) {
            addCriterion("part_title =", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleNotEqualTo(String value) {
            addCriterion("part_title <>", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleGreaterThan(String value) {
            addCriterion("part_title >", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleGreaterThanOrEqualTo(String value) {
            addCriterion("part_title >=", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleLessThan(String value) {
            addCriterion("part_title <", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleLessThanOrEqualTo(String value) {
            addCriterion("part_title <=", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleLike(String value) {
            addCriterion("part_title like", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleNotLike(String value) {
            addCriterion("part_title not like", value, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleIn(List<String> values) {
            addCriterion("part_title in", values, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleNotIn(List<String> values) {
            addCriterion("part_title not in", values, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleBetween(String value1, String value2) {
            addCriterion("part_title between", value1, value2, "partTitle");
            return (Criteria) this;
        }

        public Criteria andPartTitleNotBetween(String value1, String value2) {
            addCriterion("part_title not between", value1, value2, "partTitle");
            return (Criteria) this;
        }
        
				
        public Criteria andPartDeptIsNull() {
            addCriterion("part_dept is null");
            return (Criteria) this;
        }

        public Criteria andPartDeptIsNotNull() {
            addCriterion("part_dept is not null");
            return (Criteria) this;
        }

        public Criteria andPartDeptEqualTo(String value) {
            addCriterion("part_dept =", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptNotEqualTo(String value) {
            addCriterion("part_dept <>", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptGreaterThan(String value) {
            addCriterion("part_dept >", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptGreaterThanOrEqualTo(String value) {
            addCriterion("part_dept >=", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptLessThan(String value) {
            addCriterion("part_dept <", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptLessThanOrEqualTo(String value) {
            addCriterion("part_dept <=", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptLike(String value) {
            addCriterion("part_dept like", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptNotLike(String value) {
            addCriterion("part_dept not like", value, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptIn(List<String> values) {
            addCriterion("part_dept in", values, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptNotIn(List<String> values) {
            addCriterion("part_dept not in", values, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptBetween(String value1, String value2) {
            addCriterion("part_dept between", value1, value2, "partDept");
            return (Criteria) this;
        }

        public Criteria andPartDeptNotBetween(String value1, String value2) {
            addCriterion("part_dept not between", value1, value2, "partDept");
            return (Criteria) this;
        }
        
				
        public Criteria andPartExpertiseIsNull() {
            addCriterion("part_expertise is null");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseIsNotNull() {
            addCriterion("part_expertise is not null");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseEqualTo(String value) {
            addCriterion("part_expertise =", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseNotEqualTo(String value) {
            addCriterion("part_expertise <>", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseGreaterThan(String value) {
            addCriterion("part_expertise >", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseGreaterThanOrEqualTo(String value) {
            addCriterion("part_expertise >=", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseLessThan(String value) {
            addCriterion("part_expertise <", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseLessThanOrEqualTo(String value) {
            addCriterion("part_expertise <=", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseLike(String value) {
            addCriterion("part_expertise like", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseNotLike(String value) {
            addCriterion("part_expertise not like", value, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseIn(List<String> values) {
            addCriterion("part_expertise in", values, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseNotIn(List<String> values) {
            addCriterion("part_expertise not in", values, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseBetween(String value1, String value2) {
            addCriterion("part_expertise between", value1, value2, "partExpertise");
            return (Criteria) this;
        }

        public Criteria andPartExpertiseNotBetween(String value1, String value2) {
            addCriterion("part_expertise not between", value1, value2, "partExpertise");
            return (Criteria) this;
        }
        
				
        public Criteria andResearchResIsNull() {
            addCriterion("research_res is null");
            return (Criteria) this;
        }

        public Criteria andResearchResIsNotNull() {
            addCriterion("research_res is not null");
            return (Criteria) this;
        }

        public Criteria andResearchResEqualTo(String value) {
            addCriterion("research_res =", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResNotEqualTo(String value) {
            addCriterion("research_res <>", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResGreaterThan(String value) {
            addCriterion("research_res >", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResGreaterThanOrEqualTo(String value) {
            addCriterion("research_res >=", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResLessThan(String value) {
            addCriterion("research_res <", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResLessThanOrEqualTo(String value) {
            addCriterion("research_res <=", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResLike(String value) {
            addCriterion("research_res like", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResNotLike(String value) {
            addCriterion("research_res not like", value, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResIn(List<String> values) {
            addCriterion("research_res in", values, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResNotIn(List<String> values) {
            addCriterion("research_res not in", values, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResBetween(String value1, String value2) {
            addCriterion("research_res between", value1, value2, "researchRes");
            return (Criteria) this;
        }

        public Criteria andResearchResNotBetween(String value1, String value2) {
            addCriterion("research_res not between", value1, value2, "researchRes");
            return (Criteria) this;
        }
        
				
        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(String value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(String value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(String value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(String value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(String value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLike(String value) {
            addCriterion("project_id like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotLike(String value) {
            addCriterion("project_id not like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<String> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<String> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(String value1, String value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(String value1, String value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }
        
				
        public Criteria andPartTaskIsNull() {
            addCriterion("part_task is null");
            return (Criteria) this;
        }

        public Criteria andPartTaskIsNotNull() {
            addCriterion("part_task is not null");
            return (Criteria) this;
        }

        public Criteria andPartTaskEqualTo(String value) {
            addCriterion("part_task =", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskNotEqualTo(String value) {
            addCriterion("part_task <>", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskGreaterThan(String value) {
            addCriterion("part_task >", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskGreaterThanOrEqualTo(String value) {
            addCriterion("part_task >=", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskLessThan(String value) {
            addCriterion("part_task <", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskLessThanOrEqualTo(String value) {
            addCriterion("part_task <=", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskLike(String value) {
            addCriterion("part_task like", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskNotLike(String value) {
            addCriterion("part_task not like", value, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskIn(List<String> values) {
            addCriterion("part_task in", values, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskNotIn(List<String> values) {
            addCriterion("part_task not in", values, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskBetween(String value1, String value2) {
            addCriterion("part_task between", value1, value2, "partTask");
            return (Criteria) this;
        }

        public Criteria andPartTaskNotBetween(String value1, String value2) {
            addCriterion("part_task not between", value1, value2, "partTask");
            return (Criteria) this;
        }
        
				
        public Criteria andFinishIdIsNull() {
            addCriterion("finish_id is null");
            return (Criteria) this;
        }

        public Criteria andFinishIdIsNotNull() {
            addCriterion("finish_id is not null");
            return (Criteria) this;
        }

        public Criteria andFinishIdEqualTo(String value) {
            addCriterion("finish_id =", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdNotEqualTo(String value) {
            addCriterion("finish_id <>", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdGreaterThan(String value) {
            addCriterion("finish_id >", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdGreaterThanOrEqualTo(String value) {
            addCriterion("finish_id >=", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdLessThan(String value) {
            addCriterion("finish_id <", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdLessThanOrEqualTo(String value) {
            addCriterion("finish_id <=", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdLike(String value) {
            addCriterion("finish_id like", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdNotLike(String value) {
            addCriterion("finish_id not like", value, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdIn(List<String> values) {
            addCriterion("finish_id in", values, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdNotIn(List<String> values) {
            addCriterion("finish_id not in", values, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdBetween(String value1, String value2) {
            addCriterion("finish_id between", value1, value2, "finishId");
            return (Criteria) this;
        }

        public Criteria andFinishIdNotBetween(String value1, String value2) {
            addCriterion("finish_id not between", value1, value2, "finishId");
            return (Criteria) this;
        }
        
				
        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(Date value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(Date value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
        
			
		 public Criteria andLikeQuery(ApplyParticipator record) {
		 	List<String> list= new ArrayList<String>();
		 	List<String> list2= new ArrayList<String>();
        	StringBuffer buffer=new StringBuffer();
			if(record.getId()!=null&&StrUtil.isNotEmpty(record.getId().toString())) {
    			 list.add("ifnull(id,'')");
    		}
			if(record.getPartName()!=null&&StrUtil.isNotEmpty(record.getPartName().toString())) {
    			 list.add("ifnull(part_name,'')");
    		}
			if(record.getPartAge()!=null&&StrUtil.isNotEmpty(record.getPartAge().toString())) {
    			 list.add("ifnull(part_age,'')");
    		}
			if(record.getPartTitle()!=null&&StrUtil.isNotEmpty(record.getPartTitle().toString())) {
    			 list.add("ifnull(part_title,'')");
    		}
			if(record.getPartDept()!=null&&StrUtil.isNotEmpty(record.getPartDept().toString())) {
    			 list.add("ifnull(part_dept,'')");
    		}
			if(record.getPartExpertise()!=null&&StrUtil.isNotEmpty(record.getPartExpertise().toString())) {
    			 list.add("ifnull(part_expertise,'')");
    		}
			if(record.getResearchRes()!=null&&StrUtil.isNotEmpty(record.getResearchRes().toString())) {
    			 list.add("ifnull(research_res,'')");
    		}
			if(record.getProjectId()!=null&&StrUtil.isNotEmpty(record.getProjectId().toString())) {
    			 list.add("ifnull(project_id,'')");
    		}
			if(record.getPartTask()!=null&&StrUtil.isNotEmpty(record.getPartTask().toString())) {
    			 list.add("ifnull(part_task,'')");
    		}
			if(record.getFinishId()!=null&&StrUtil.isNotEmpty(record.getFinishId().toString())) {
    			 list.add("ifnull(finish_id,'')");
    		}
			if(record.getUpdateTime()!=null&&StrUtil.isNotEmpty(record.getUpdateTime().toString())) {
    			 list.add("ifnull(update_time,'')");
    		}
			if(record.getId()!=null&&StrUtil.isNotEmpty(record.getId().toString())) {
    			list2.add("'%"+record.getId()+"%'");
    		}
			if(record.getPartName()!=null&&StrUtil.isNotEmpty(record.getPartName().toString())) {
    			list2.add("'%"+record.getPartName()+"%'");
    		}
			if(record.getPartAge()!=null&&StrUtil.isNotEmpty(record.getPartAge().toString())) {
    			list2.add("'%"+record.getPartAge()+"%'");
    		}
			if(record.getPartTitle()!=null&&StrUtil.isNotEmpty(record.getPartTitle().toString())) {
    			list2.add("'%"+record.getPartTitle()+"%'");
    		}
			if(record.getPartDept()!=null&&StrUtil.isNotEmpty(record.getPartDept().toString())) {
    			list2.add("'%"+record.getPartDept()+"%'");
    		}
			if(record.getPartExpertise()!=null&&StrUtil.isNotEmpty(record.getPartExpertise().toString())) {
    			list2.add("'%"+record.getPartExpertise()+"%'");
    		}
			if(record.getResearchRes()!=null&&StrUtil.isNotEmpty(record.getResearchRes().toString())) {
    			list2.add("'%"+record.getResearchRes()+"%'");
    		}
			if(record.getProjectId()!=null&&StrUtil.isNotEmpty(record.getProjectId().toString())) {
    			list2.add("'%"+record.getProjectId()+"%'");
    		}
			if(record.getPartTask()!=null&&StrUtil.isNotEmpty(record.getPartTask().toString())) {
    			list2.add("'%"+record.getPartTask()+"%'");
    		}
			if(record.getFinishId()!=null&&StrUtil.isNotEmpty(record.getFinishId().toString())) {
    			list2.add("'%"+record.getFinishId()+"%'");
    		}
			if(record.getUpdateTime()!=null&&StrUtil.isNotEmpty(record.getUpdateTime().toString())) {
    			list2.add("'%"+record.getUpdateTime()+"%'");
    		}
        	buffer.append(" CONCAT(");
	        buffer.append(StrUtil.join(",",list));
        	buffer.append(")");
        	buffer.append(" like CONCAT(");
        	buffer.append(StrUtil.join(",",list2));
        	buffer.append(")");
        	if(!" CONCAT() like CONCAT()".equals(buffer.toString())) {
        		addCriterion(buffer.toString());
        	}
        	return (Criteria) this;
        }
        
        public Criteria andLikeQuery2(String searchText) {
		 	List<String> list= new ArrayList<String>();
        	StringBuffer buffer=new StringBuffer();
    		list.add("ifnull(id,'')");
    		list.add("ifnull(part_name,'')");
    		list.add("ifnull(part_age,'')");
    		list.add("ifnull(part_title,'')");
    		list.add("ifnull(part_dept,'')");
    		list.add("ifnull(part_expertise,'')");
    		list.add("ifnull(research_res,'')");
    		list.add("ifnull(project_id,'')");
    		list.add("ifnull(part_task,'')");
    		list.add("ifnull(finish_id,'')");
    		list.add("ifnull(update_time,'')");
        	buffer.append(" CONCAT(");
	        buffer.append(StrUtil.join(",",list));
        	buffer.append(")");
        	buffer.append("like '%");
        	buffer.append(searchText);
        	buffer.append("%'");
        	addCriterion(buffer.toString());
        	return (Criteria) this;
        }
        
}
	
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}